package com.shangxuewen.mall.order.feign;

import com.shangxuewen.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author shangxw
 * @date 2022-06-20 20:59
 */

/**
 * FeignClient指明注册中心服务的名称
 */
@FeignClient("mall-product")
public interface ProductService {

    @GetMapping("/product/brand/all")
    public Result queryAllBrand();
}
